extends layout

block title
    title #{blogPost.title}
block link
    link(rel='stylesheet', href='/plugin/editormd/css/editormd.preview.min.css')

block content
    div(class="container-fluid show")
        div(class="row")
            div(class="col-lg-12")
                ol(class="breadcrumb visible-lg visible-md visible-sm")
                    li
                        a(href="/") 首页
                    li(class="active") #{blogPost.title}
            article(class="col-lg-9")
                div(class="post")
                    h1(class="title") #{blogPost.title}
                    div(class="content" id="content-view") !{blogPost.content_html}
            aside(class="col-lg-3")
                //div(id="sidebar")
                //    h1 Table of Contents
                //    div(class="markdown-body editormd-preview-container" id="custom-toc-container") #custom-toc-container
                form(class="form-inline search")
                    div(class="form-group input")
                        label( class="sr-only" for="search") 关键字
                        input(type="text" class="form-control" id="search" placeholder="搜索")
                    button(type="submit" class="btn btn-primary") 搜索
block script
    script(src="/plugin/editormd/lib/marked.min.js")
    script(src="/plugin/editormd/lib/prettify.min.js")
    script(src="/plugin/editormd/lib/raphael.min.js")
    script(src="/plugin/editormd/lib/underscore.min.js")
    script(src="/plugin/editormd/lib/sequence-diagram.min.js")
    script(src="/plugin/editormd/lib/flowchart.min.js")
    script(src="/plugin/editormd/lib/jquery.flowchart.min.js")
    script(src="/plugin/editormd/editormd.min.js")
    script(src="/javascripts/show.js")